var e, t, a;

e = require("../../../@babel/runtime/helpers/interopRequireDefault")(require("../../../vendor/appsite-client-sdk/page/aspage")), 
t = require("../../../utils/util.js"), require("../../../utils/marquee.js").marquee, 
getApp(), a = e.default.AppSite, Page(a.merge({}, e.default, {
    data: {
        type: 1,
        content: ""
    },
    onLoad: function(e) {
        var a = e.type, i = this, n = "", r = {
            title: n = 2 == a ? "VIP会员权益条款" : "服务协议"
        };
        t.requestGet("/app/Exp/xieyi", r, function(e) {
            console.log("e.data.data", e.data), wx.hideLoading(), e.data.data ? i.setData({
                content: e.data.data.content
            }) : i.setData({
                content: []
            });
        }, function() {
            wx.hideLoading();
        }), wx.setNavigationBarTitle({
            title: n
        });
    }
}));